package cn.com.dcsgo.ioc.simple;

/**
 * 静态工厂实例化组件
 *
 * @author Dcsgo
 * @since 2025/2/3 11:53
 */

public class ClientService {
    private static final ClientService clientService = new ClientService();

    private ClientService() {

    }

    public static ClientService createInstance() {
        return clientService;
    }

    public void doWork(){
        System.out.println(getClass().getSimpleName()+" working...");
    }
}
